import { formatTime } from '@/utils'
export const columns = [
  { title: '质检时间', dataIndex: 'checkTime', key: 'checkTime', align: 'center', width: 120 , sorter: true,resizable: true , timeType: 'day',
    customRender: ({ text }) => {
      return formatTime(text, 'YYYY-MM-DD')
    }
  },
  { title: '质检站号', dataIndex: 'checkLineStationNo', key: 'checkLineStationNo', align: 'center', width: 120, sorter: true,resizable: true },
  { title: '质检员', dataIndex: 'checkStaffNoName', key: 'checkStaffNoName', align: 'center', width: 120, sorter: true,resizable: true },
  { title: '质检工序', dataIndex: 'processName', key: 'processName', align: 'center', width: 120, sorter: true,resizable: true },
  { title: '制单号', dataIndex: 'moNo', key: 'moNo', align: 'center', width: 120,resizable: true  },
  { title: '款号', dataIndex: 'styleNo', key: 'styleNo', align: 'center', width: 120,resizable: true},
  { title: '返工站号', dataIndex: 'stationNo', key: 'stationNo', align: 'center', width: 120 , sorter: true,resizable: true },
  { title: '返工员工', dataIndex: 'workStaffNoName', key: 'workStaffNoName', align: 'center', width: 120  , sorter: true,resizable: true },
  { title: '返工工序号', dataIndex: 'processNo', key: 'processNo', align: 'center', width: 120  , sorter: true,resizable: true },
  { title: '返工工序名称', dataIndex: 'processName', key: 'processName', align: 'center', width: 120  , sorter: true,resizable: true },
  { title: '疵点原因', dataIndex: 'defectName', key: 'defectName', align: 'center', width: 120  , sorter: true,resizable: true },
  { title: '返工数量', dataIndex: 'reworkQty', key: 'reworkQty', align: 'center', width: 120  , sorter: true,resizable: true },
  { title: '返工状态', dataIndex: 'reworkStatus', key: 'reworkStatus', align: 'center', width: 120  , sorter: true,resizable: true },
]